package com.gancai.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author GanGan
 */
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.gancai.admin"})
@EnableDiscoveryClient
@MapperScan("com.gancai.admin.dao")
public class AdminMainApplication {
    public static void main(String[] args){
        SpringApplication.run(AdminMainApplication.class,args);
    }
}
